<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<!-- <script src="./js/jquery.1.7.0.js"></script>
<script src="./js/jquery.form.js"></script>  -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js"></script>
<script src="http://malsup.github.com/jquery.form.js"></script>
</head>
<body>
	<form action="./test/baseUpload.action" method="post"
		enctype="multipart/form-data" id="myForm">
		<input id="fileid" type="file" value="选择上传附件" name="fujianFile" /> <input
			type="submit" value="提交" id="btn" />
	</form>
	<script>
		$(document).ready(function() {
			$('#myForm').ajaxForm(function(data) {
				alert(data);
			});
		});
	</script>

</body>
</html>